<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        const sJson = '{"name":"tom", "age":"55"}';
        const oJson = JSON.parse(sJson); // 把json数据转化成js对象
        alert(oJson.name);


    </script>
</head>
<body>

</body>
</html>